STEP 5: Before we add anything to our function, let's call it inside main().

  • Our create_maze function will return the x and y coordinate of where our navigating sprite should start.
  • In , drag Call w/ Parameter into Variable inside main().
  • Change my_var to start_coordinates.
  • Finally, change my_function to create_maze and change my_parameter to maze.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)